//
//  SinglePic.m
//  iCarStyle
//
//  Created by liu nian on 14-4-18.
//  Copyright (c) 2014年 liunian. All rights reserved.
//

#import "SinglePic.h"
#import "PicEntity.h"

@implementation SinglePic

- (instancetype)initWithPicEntity:(PicEntity *)entity{
    if (self = [super init]) {
        self.cid   = [entity.cid integerValue];
        self.index = [entity.index integerValue];
        self.big   = entity.bigimg;
        self.small = entity.smallimg;
        self.intro = entity.intro;
        self.link  = entity.url;
    }
    return self;
}
@end
